// src/store/index.js
import { createStore } from 'vuex';
import auth from './modules/auth'; // 引入认证模块

export default createStore({
  modules: {
    auth, // 注册认证模块
  },
});